home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_0399 / 327 / m107.zoo / diffs < prev   
Encoding:
Text File  |  1993-06-24  |  4.0 KB  |  144 lines

  1. *** 1.6    1993/06/23 21:05:46
  2. --- debug.c    1993/06/24 18:19:20
  3. ***************
  4. *** 519,525 ****
  5.   
  6.   static char *rebootmsg[MAXLANG] = {
  7.   "FATAL ERROR. You must reboot the system.\r\n",
  8. ! "FATAL ERROR. You must reboot the system.\r\n",        /* German */
  9.   "FATAL ERROR. You must reboot the system.\r\n",        /* French */
  10.   "FATAL ERROR. You must reboot the system.\r\n",        /* UK */
  11.   "FATAL ERROR. You must reboot the system.\r\n",        /* Spanish */
  12. --- 519,525 ----
  13.   
  14.   static char *rebootmsg[MAXLANG] = {
  15.   "FATAL ERROR. You must reboot the system.\r\n",
  16. ! "FATALER FEHLER. Das System muß neu gestartet werden.\r\n",    /* German */
  17.   "FATAL ERROR. You must reboot the system.\r\n",        /* French */
  18.   "FATAL ERROR. You must reboot the system.\r\n",        /* UK */
  19.   "FATAL ERROR. You must reboot the system.\r\n",        /* Spanish */
  20. *** 1.6    1993/06/23 21:05:46
  21. --- filesys.c    1993/06/24 17:04:26
  22. ***************
  23. *** 374,390 ****
  24.   
  25.   TRACE(("calling mediach(%d)",d));
  26.       r = (int)mediach(d);
  27. ! TRACE(("mediach(%d) == %ld", d, r));
  28.   
  29.       if (r < 0) return r;
  30.       if (r == 1) {        /* drive _may_ have changed */
  31.           r = rwabs(0, tmpbuf, 1, 0, d, 0L);    /* check the BIOS */
  32.           if (r != E_CHNG) {            /* nope, no change */
  33.               return (r < 0) ? r : 0;
  34.           }
  35.           r = 2;            /* drive was definitely changed */
  36.       }
  37.       if (r == 2) {
  38.           fs = drives[d];        /* get filesystem associated with drive */
  39.           if ((*fs->dskchng)(d)) { /* does the fs agree that it changed? */
  40.               drives[d] = 0;
  41. --- 374,392 ----
  42.   
  43.   TRACE(("calling mediach(%d)",d));
  44.       r = (int)mediach(d);
  45. ! TRACE(("mediach(%d) == %d", d, r));
  46.   
  47.       if (r < 0) return r;
  48.       if (r == 1) {        /* drive _may_ have changed */
  49.           r = rwabs(0, tmpbuf, 1, 0, d, 0L);    /* check the BIOS */
  50.           if (r != E_CHNG) {            /* nope, no change */
  51. +             TRACE(("rwabs returned %d", r));
  52.               return (r < 0) ? r : 0;
  53.           }
  54.           r = 2;            /* drive was definitely changed */
  55.       }
  56.       if (r == 2) {
  57. +         TRACE(("definite media change"));
  58.           fs = drives[d];        /* get filesystem associated with drive */
  59.           if ((*fs->dskchng)(d)) { /* does the fs agree that it changed? */
  60.               drives[d] = 0;
  61. *** 1.6    1993/06/23 21:05:46
  62. --- intr.spp    1993/06/24 18:00:02
  63. ***************
  64. *** 221,226 ****
  65. --- 221,227 ----
  66.       XREF    _sigbus,_sigaddr,_sigill,_sigfpe,_sigpriv,_sigtrap
  67.       XREF    _haltformat,_haltcpv
  68.       XREF    _sig_exc
  69. +     XREF    _mcpu
  70.       
  71.   ;
  72.   ; New bus error handler for memory protection: get the ssp and
  73. ***************
  74. *** 233,239 ****
  75. --- 234,245 ----
  76.   
  77.   _new_bus:
  78.       move.w    #$8,_sig_exc
  79. +     cmp.l    #30,_mcpu
  80. +     bne.s    noMMU
  81.       move.l    #_mmu_sigbus,_sig_routine
  82. +     bra.s    Do_sig
  83. + noMMU:
  84. +     move.l    #_nommu_sigbus,_sig_routine
  85.   Do_sig:
  86.       move.l    a0,-(sp)        ; save a0
  87.       move.l    _curproc,a0
  88. ***************
  89. *** 285,290 ****
  90. --- 291,309 ----
  91.       pmove    mmusr,P_EXCMMUSR(a0)    ; save resulting mmusr in curproc
  92.       move.l    (sp)+,a2
  93.       jmp    _sigbus        ; chain to bus-error handler
  94. + ;
  95. + ; _nommu_sigbus: handler for bus errors on machines without MMU
  96. + _nommu_sigbus:
  97. +     move.l    _curproc,a0
  98. +     move.l    P_EXCSSP(a0),a1
  99. +     lea    $10(a1),a1        ; point to access address
  100. +     tst.w    ($59e).w        ; test longframe
  101. +     beq.s    NOMMU1
  102. +     lea    8(a1),a1        ; on 68000, address is 8 bytes further
  103. + NOMMU1:
  104. +     move.l    (a1),P_EXCADDR(a0)    ; save the access address
  105. +     jmp    _sigbus
  106.   
  107.   _new_addr:
  108.       move.w    #$c,_sig_exc
  109. *** 1.6    1993/06/23 21:05:46
  110. --- makefile    1993/06/24 17:30:26
  111. ***************
  112. *** 38,44 ****
  113.   # add -DONLY030 for a version of MiNT that needs a 680x0, x>=3
  114.   # add -DDEBUG_INFO for debugging information
  115.   
  116. ! DEFS = -DMULTITOS -DDEBUG_INFO
  117.   #DEFS030 = -DMULTITOS -DONLY030
  118.   DEFS030 = -DONLY030
  119.   
  120. --- 38,44 ----
  121.   # add -DONLY030 for a version of MiNT that needs a 680x0, x>=3
  122.   # add -DDEBUG_INFO for debugging information
  123.   
  124. ! DEFS = -DMULTITOS #-DDEBUG_INFO
  125.   #DEFS030 = -DMULTITOS -DONLY030
  126.   DEFS030 = -DONLY030
  127.   
  128. *** 1.6    1993/06/23 21:05:46
  129. --- version.h    1993/06/24 18:02:34
  130. ***************
  131. *** 1,5 ****
  132.   #define MAJ_VERSION    1
  133. ! #define MIN_VERSION    6
  134.   
  135.   #ifndef MULTITOS
  136.   #define BETA
  137. --- 1,5 ----
  138.   #define MAJ_VERSION    1
  139. ! #define MIN_VERSION    7
  140.   
  141.   #ifndef MULTITOS
  142.   #define BETA
  143.